package com.cuit.utils;

//import com.chen.pojo.Users;

import com.cuit.pojo.Users;

public class UserThreadLocal {
    private UserThreadLocal(){}

    private static final ThreadLocal<Users> LOCAL = new ThreadLocal<>();

    public static void put(Users users){
        LOCAL.set(users);
    }

    public static Users  get(){
        return LOCAL.get();
    }

    public static void remove(){
        LOCAL.remove();
    }

}
